package com.prj.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.util.Date;
import java.util.List;

@Data
@Schema(description = "用户列表查询结果")
public class UserVO {

    @Schema(description = "id")
    private Integer id;

    @Schema(description = "用户名")
    private String username;

    @Schema(description = "昵称")
    private String nickname;

    @Schema(description = "头像")
    private String avatar;

    @Schema(description = "角色")
    private List<RoleVO> roles;

    @Schema(description = "token")
    private String token;

    @Schema(description = "按钮权限")
    private List<String> buttons;

    @Schema(description = "路由权限")
    private List<String> routes;
}

